package com.lh0811.forge.dependency.security.core.model.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author lh0811
 * @date 2021/5/7
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class SecurityTenant implements Serializable {

    @Schema(description = "租户id")
    private Long id;

    @Schema(description = "租户编号")
    private String tenantNo;

    @Schema(description = "租户名称")
    private String tenantName;

    @Schema(description = "租户岗位列表")
    private List<SecurityPost> postList;

}
